package com.esb.transport.handler.codec.serialization;

import java.io.IOException;

public interface Codec {
	
	byte[] encode(Object message) throws IOException;

	Object decode(byte[] data) throws IOException;
	
}
